Fix JSONObjectField

When pulling data from the db, the JSONObjectField values weren't being
correctly converted back to Python types. Thus you couldn't save some
data, then later pull it out, add to it and put it back in.

This fixes that and tests that were testing against the wrong values.