changed the rpc handler content type