remove jaxrs dependency by changing IResponse headers to a Map