Format date and amount values before sending them to main application