added option to define the property name for storing child nodes