Better API for inline / external source map files