public function negotiateRequestFormat(Request $req)
    {
        $header = $req->headers->get('Content-Type');

        $exp = explode(';', $header);
        $type = $exp[0];

        return isset($this->inputFormatMap[$type]) ? $this->inputFormatMap[$type] : false;
    }