Voodoo code bullshit in ember-data