Prints as array instead of newline seperated JSON