A JSON serializer for Storeit