Created by: nicklangridge
Repeat of https://github.com/Ensembl/ensembl-rest/pull/323 for the master branch