Convert model to AutoValue.