Added a json serializer. Now to find out how to unserialize