correction on output of json from rack