Pass valid JSON to reply/1 and error/1.