Shoulda been doing that with to_attributes the whole time