reverting to json serializer