Fix [object Object] being written to source map file

Fixes `--source-map` outputting `[object Object]`.