Can you use JSON? In exported maps all the buildings are just an array of polygons.
Probably can actually