Revert "introduced ResourceKeyBuilder (not in use yet)"

This reverts commit 4a010e30189b539550a965569cb13ea674c09a5d.