Merge pull request #611 from sunnychaudhari/mongokit

Bug resolved while making the collection of all the resources
Bug resolved while creating heterogeneous collection