Fix deprecated .json(status, data) calls