code: function parseAnnotations(response) {
    let entities = {};
    Object.keys(response).forEach(key => {
      entities[key] = parseAnnotation(response[key]);
    });
    return entities;
  }
docs: Parse a collection of annotations.
  @param {Object} response - The collection, containing annotations as described
  in parseAnnotation().
  @returns {Object} The parsed collection, containing annotations as described
  in parseAnnotation().