Renamed JsonGenerator to OopToJson