Translate tags to replace colons in keys with backticks and move tag
translation functionality into its own function.