code: void writeObjectKeyValue(String key, String value) throws IOException {
          writeObjectKey(key);
          writeString(value);
      }
docs: Writes a JSON object key and value.
  
  @param key  the item key
  @param value  the item value
  @throws IOException if an error occurs