Completely avoid endianness issues
Remove nested std::maps

This saves incredibly much MM calls (about 6500!), memory itself (about 500K)
and CPU time (about 5 million irefs).