public static Map<String, Object> encode(final Map<String, Object> form) {
    return encode(form, DEFAULT_ENCODING);
  }
Encodes the String values in the Map using the default encoding, UTF-8. The Map is structurally
similar to a key/value data store but with the contents from an HTML form. Keys with String
values are searched and encoded, which then get repaired with the same Key.
<p>

@param form a mapping of key/value pairs containing String values to encode.
@return the original Map (form) with keys re-paired with encoded String values.
@see #encode(java.util.Map, String)
@see java.net.URLEncoder
geode-web/src/main/java/org/apache/geode/management/internal/web/util/UriUtils.java