Modeling Structured Data With Invertible Generative Models