code: function (key) {
          let result = key.split('');
          if (key.indexOf('/') > -1) {
              while (result.indexOf('/') > -1) {
                  result.splice(result.indexOf('/') + 1, 0, '[');
                  result[result.indexOf('/')] = ']';
              }
              result.push(result.splice(result.indexOf(']'), 1));
          } else if (key.indexOf('[') > -1) {
              while (result.indexOf('[') > -1) {
                  result[result.indexOf('[')] = '/';
                  result.splice(result.indexOf(']'), 1);
              }
          }
          return result.join('');
      }
docs: A utility method to covert keys to/from local from/to remote.