First attempt to dynamically create json config