Dealing with multi-line output better-er in json