conversion to ember data 1.0