ability to read nested structures and wrap data in specific class