changing res.json(obj,status) to res.status(status).json(obj)

Hi, just want to update this, since I hate to see deprecated notice on my console.