finish json serializer unit test