config: move the level field into the header We use it in a few places where we might have a full object or a snapshot so move it to where we can actually access it.