Load doc from json config.