json to req