updating date/time formats to work correctly with json