restapi : Facilitate accept-type specification as query param

Facilitate accept-type specification as query param

Change-Id: I54a2d8d57b09df126f1d7b1b3824fa41cda7e64d
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1121055
Signed-off-by: Anmol Babu <anbabu@redhat.com>