Formatted the expiry date for json output