It's a bit wonky, but it enables me to not have a special case for scalars, and this turns out to be very helpful in my python code that parses and manipulates this file. It allows that code to just treat everything as a map, since it mostly doesn't care about the meaning of any of it.