While get route params, return empty Hash unless Rails is defined.
Allow hashes, arrays or other values as raw POST body.

* If the parsed body is a Hash we just return the hash.
* If the parsed body is an Array we return { 'body.multi' => array }
* If the parsed body is other value we retur { 'body.value' => value }