fixed aeson to persistvalue conversion