beginning of export dash functionality, better class name handling (uses xyz.prototype.constructor.name instead of duplicating that unnecessarily, huzzah!)