The xenstore_hash_flatten now properly returns the flattened hash.