Merge pull request #2 from eluleci/master

Adding support for expanding arrays as root element
fix checking recursion to not expand by default