scripts: Add decodetree.py