added json header before print