[feature] Code duplication removed when pushing attributes to vectors in map loader.