Better stringification and date handling