Move getMapperForAlias() into QueryRegistry [SERINA-10]