Nice, thanks for the diagnosis.

This is how I worked around the issue in the relevant project: https://github.com/superjoe30/node-tmx-parser/commit/27edaf941589894eac978f5b600b1b44a5c48163

Do you have a suggestion as to the cleanest way to resolve this?