Add re-usable Json Request middleware