Put jsonformformat in own file