sep pretty print function into json header