code: private static String getJsonValueAsNumberString(JsonValue value) {
          return (value != null && value.getValueType() == ValueType.NUMBER) ? value.toString() : null;
      }
docs: Returns the specified JsonValue as a String, or null if it's not a string