use json as serializer