adding support for loading json configurations