[config] correctly process resolvers\loaders section if not array or null