print functions from tojson