Added dumbed-down res.json implementation