If data is a dict, set the attrs on the model as with the other kwargs