First commit of JSON serializer. Partial serialization is now working.