I just wrote one where you can extrac all tmld files from a powerbi project and convert it to json
https://pypi.org/project/tmdl-parser/
just pip install it and extract with one line.
where is the github source if you are interested in contributing (or add a stat to it 😊).