Exporting sourcemaps

Fixes #30
We need it because we need to export the correct source maps after a model reference is parsed.