pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)
import { JSONAPISerializer } from 'ember-cli-mirage';
import _ from 'lodash/lodash';
export default JSONAPISerializer.extend({
serialize(response) {
return _(response.models).map((lang) => { return [lang.id, lang.count];}).object().value();
}
});