Looks like BJS supports this out of the box, but it should be hooked up to the Decoding API. See https://doc.babylonjs.com/typedoc#tgatools