Fix Marginalized Parameters in Prior in Result File
Closes #661 (closed) by switching the keys and values of the misnamed_marginalizations
dict and where these are referenced in the function. Checked that the result object contains the correct priors when using a marginalized likelihood.