function decode(obj, key){
  var newKey = key.split($).join("").split(DOT).join(".");

  if(key !== newKey){
    obj[newKey] = obj[key];
    delete obj[key];
  }
}
Decodes an object's encoded keys

@param obj obj with possibly encoded key
@param key key to decode