Merge pull request #50 from onkar-dhuri/2.2

Fixed minor issue while parsing collection of complex