Simplified date flattening in API tests (can to_s on all elements for
comparison)