Allow casting any hash to an array