allow api users to generate a sourcemap