added support to parse json request to Request::getRestParams()
Merge pull request #2065 from cebe/json-request

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