function parseAnnotations(response) {
  let entities = {};
  Object.keys(response).forEach(key => {
    entities[key] = parseAnnotation(response[key]);
  });
  return entities;
}
function parseAnnotations(response) {
  let entities = {};
  Object.keys(response).forEach(key => {
    entities[key] = parseAnnotation(response[key]);
  });
  return entities;
}
function parseAnnotations ( response ) { let entities = { } ; Object . keys ( response ) . forEach ( key => { entities [ key ] = parseAnnotation ( response [ key ] ) ; } ) ; return entities ; }
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().
Parse a collection of annotations .