refactor json serializer