[PR] Add support for custom maps with an alias attribute