move trimNested() down later in the steps
Merge pull request #27 from uber/delay-trim-nested

move trimNested() down later in the steps