code: public ChannelBuffer formatUidAssignV1(final 
        Map<String, TreeMap<String, String>> response) {
      return this.serializeJSON(response);
    }
docs: Format a response from the Uid Assignment RPC
  @param response A map of lists of pairs representing the results of the
  assignment
  @return A JSON structure
  @throws JSONException if serialization failed