Revisit contraints

Constraints seem to have been updated in recent refl1d versions. The way the output is stored to json no longer works well for retrieving the fit results.