Adding support for res.json(data, statusCode)

Hello,

My code is using the reverse syntax for the status code as in res.json(data, statusCode). This causes a number of problems including setting the status code to the data sent.

I have attached the code and added a test for the reverse. All tests are passing. The warning about a depreciated method is still in place.