Added support for getting content. Added support for nested elements. Improved list and array support