code: public String writeFeed(List<?> entities, String contextUrl, Map<String, Object> meta)
              throws ODataRenderException {
          this.contextURL = checkNotNull(contextUrl);
  
          try {
              return writeJson(entities, meta);
          } catch (IOException | IllegalAccessException | NoSuchFieldException
                  | ODataEdmException | ODataRenderException e) {
              LOG.error("Not possible to marshall feed stream JSON");
              throw new ODataRenderException("Not possible to marshall feed stream JSON: ", e);
          }
      }
docs: Write a list of entities (feed) to the JSON stream.
  
  @param entities   The list of entities to fill in the JSON stream.
  @param contextUrl The 'Context URL' to write.
  @param meta       Additional metadata for the writer.
  @return the rendered feed.
  @throws ODataRenderException In case it is not possible to write to the JSON stream.