Switched from PickleType to JSONType