updated to add suport to emberjs hook for res.ember responses