Flattening of deep hash fields