separate json serializer
write MVP test for JSONSerializer