export function buildEvent(attributes = {}) {
  // fill in default values where necessary
  const output = Object.assign({}, eventDefaults(), attributes);

  return removeUndefined(output)