Fix bug that made all lists appear as inline in dump