lookup = (reference, kind) => {
    if (!(reference in decoded)) {
      if (!(reference in expression.values)) {
        throw new Error(`Cannot find ${kind} ${reference}`);
      }
      decoded[reference] = decode(expression.values[reference]);
    }
    return decoded[reference];
  }
Decodes an object previously encoded using the EE Cloud API format.
@param {*} json The serialized object to decode.
@return {*} The decoded object.
@export