anchor.diff:      cloudi_json_rpc:response_to_json(null, 3,
                                        <<"invalid_param">>, Id);
   format_json_rpc_call(Method, 2, Param, Timeout, Id) ->
  -    Arg1 = convert_erlang_to_term(Param),
  +    Arg1 = convert_json_to_term(Param, Method),
       try cloudi_service_api_call(Method, Arg1, Timeout) of
           Result ->
               cloudi_json_rpc:response_to_json(
  
positive.code: convert_json_to_term(_Request, Method)
      when Method =:= logging_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= logging_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= logging_file_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= logging_level_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= logging_stdout_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= logging_syslog_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= logging_formatters_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= logging_redirect_set ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= code_path_add ->
      invalid; %XXX
  convert_json_to_term(_Request, Method)
      when Method =:= code_path_remove ->
      invalid. %XXX
  
  convert_json_to_term_strings([]) ->
      [];
  
negative.code: convert_term_to_erlang_string(Result) ->
      cloudi_string:format_to_binary("~p", [Result]).
  
  convert_json_to_term(Request, Method)
      when Method =:= acl_add ->
      case json_decode(Request) of
          [_ | _] = L ->
              convert_json_to_term_acl_add(L);
          _ ->
              invalid
      end;
  convert_json_to_term(Request, Method)
      when Method =:= acl_remove ->
      case json_decode(Request) of
  