Allow fragments to be nested arrays as to allow a simple flatten before walking