add top-level-obj-as-cf and pack-arrays options