pub fn get_float_from_nested_dict<'a>( payload: &'a Value, key: &'a str, ) -> Option<f64>
Extract a float from a key-value pair that looks like {key: {key: 1.2}}
{key: {key: 1.2}}