bsongen: Map support