fix jinja rendering of nested structures
fix jinja unittest
deprecated assertEquals
Merge pull request #8070 from johnnoone/nested-structs

fix jinja rendering of nested structures