It might be a good idea to check if your data structure is suitable for what you want to do. Since you don't give any real examples, it's impossible to suggest a better alternative.
Maybe switching data and keys might help, since you can then just use /hdel -w.
How can I switch between data and items after the data was already written??
Your idea sounds nice since it has a potential (it the switching is possible).