Support aliases as either arrays or objects