code: public String writeRawJson(final String json, final String contextUrl) throws ODataRenderException {
          this.contextURL = checkNotNull(contextUrl);
          try {
              final ByteArrayOutputStream stream = new ByteArrayOutputStream();
              jsonGenerator = JSON_FACTORY.createGenerator(stream, JsonEncoding.UTF8);
              jsonGenerator.writeRaw(json);
              jsonGenerator.close();
              return stream.toString(StandardCharsets.UTF_8.name());
          } catch (final IOException e) {
              throw new ODataRenderException("Not possible to write raw json to stream JSON: ", e);
          }
      }
docs: Writes raw json to the JSON stream.
  
  @param json       JSON to write
  @param contextUrl context URL
  @return JSON result
  @throws ODataRenderException OData render exception