Fixing #1 : rack might not put the json to a tempfile