turn json to one line json