Allow  to be either a hash or an array