refactor(model/attributes): model.attributes is no longer a SQL representation of rawAttributes