How to generate DTOs from a simple declarative file written in JSON