Added d3 parent/child elements for text layout. Still needs work, but group transforms working correctly.