This repository demonstrates an uncommon error in Node.js related to JSON parsing: the "Unexpected token" error. This error typically occurs when the JSON string ...
Not sure if the responsibility is on the user or the library. Not sure if it's easy but when emitting to JSON you could convert to a string if there is a leading zero number, as it is invalid in JSON.