Factor out altmetrics and doi matching