Allow aliases_each to return a value
Replace aliases in output