code: public static void writeValue(JsonWriter writer, String name, String value) throws IOException {
          writer.name(name).value(value);
      }
docs: helper methods to decouple value write from value get (can probably throw an exception)