Define JSON representation of timestamp fields