[JsonRpc] Fix for AccessControlMiddleware: common format for methods' names.

JSON-RPC library allows you to call methods in two ways: using CamelCase and dots:

$http.jsonrpc('namespace.method');
$http.jsonrpc('namespaceMethod');

Therefore, to avoid security issues, we need to lead methods' names to a common format.