exporting payments as json