Use different mapping strategies based on header

This makes loading simple flat objects ~80% faster