Keep sourceMap as string

Fixes [object Object] being written to source map file.