SONAR-5007 revert removal of deprecated metrics "profile" and "profile_version" for binary backward-compatibility
SONAR-5007 remove temporarily commented-out code