code: private void writeObject(JsonGenerator jsonGenerator, Object entity) throws IOException {
          jsonGenerator.writeStartObject();
  
          writeName(jsonGenerator, entity);
          writeKind(jsonGenerator, entity);
          writeURL(jsonGenerator, entity);
  
          jsonGenerator.writeEndObject();
      }
docs: Build an embedded json object that will have key-value attributes like
  'name' and 'url' (they are MUST), 'title' and 'kind'.
  
  @param jsonGenerator jsonGenerator
  @param entity        entitySet or singleton
  @throws IOException