Using the json option when request data