Kaitai struct: http://kaitai.io/ Migrating the structures system to use Kaitai would allow for better / more dynamic structures in Okteta.
This does sound very promising especially considering there seems to be quite a lot of definitions available already. However, I'm not sure this works from a dependency point of view since I can't find any packages in default distribution repositories. Also I currently don't have much time to work on this but I would really like to add this feature.