Formatted the expiry date for json output as long