Added support for configuring root element of JSON collection