Added support for nested lists/sets and arrays

fixes #127