Implementing reading of json config from std input