fixed json to output payments as number