Convert maps to data bags.