code: public JsonWriter beginObject(String objectName) throws IOException {
        writeName(objectName);
        writer.beginObject();
        writeStack.add(JsonTokenType.BEGIN_OBJECT);
        return this;
     }
docs: Begins a new object with a given name
  
  @param objectName the name
  @return This structured writer
  @throws IOException Something went wrong writing