Fixes source map serialization issue