added support to parse json request to Request::getRestParams()