Revert "Clean up metric names from misplaced dots when storing into cache"

This reverts commit d5d11973d9cf523d8eb407bd9471ddda622823d3.