added support for seeding dictionary with json object directly