f->resourceHooks( qr{/parts/(\d+)} => { GET => { 'text/json' => 'get_json', 'text/xml', => 'get_xml', 'text/xml' => 'get_html',