pub fn get_keys(value: &Value) -> Result<Vec<String>>
Get the keys of a JSON object. Returns an anyhow::Error if the value is not an object.
anyhow::Error