Allow  to parse request params as JSON

fixes #51