Changed request to json format