* patterns: Add json support for glb files
This makes it possible to separate display the different buffer views,
accessors and images (even visualizing them).
Unfortunately the data within the JSON gets sometimes corrupted and this
is the reason, why it parses the JSON multiple times at some places.
* Use original style and only single json variable
* patterns: Reuse json from global variable in gltf
* patterns: Check component type in gltf only once
* patterns: Fix gltf pattern and add formatting
Removes the duplicate definition of `component_type_t` and also removes
the need to pass the `component_type` to `stride_type_t`.