as you do the direct array access you could do it with the array access here too and remove getMetadata, or not? or you could always use getMetadata. the later would also get us rid of needing to return the validated alias in validateAlias.