Add support for ActiveModel's `to_model`