Changed respones bodies to json