Using patched version of endpoints.

I tried to subclass
  endpoints.protojson.EndpointsProtoJson
and then monkey-patch it on the protojson module but this
proved too difficult since there are so many explicit
references to the wrong class.