This solves the problem where every level of nesting was adding a newline to the end of its section. Array attribute may benefit from this as well, but I couldn't find a case where our examples hit this.