use __send__ instead of [] to access object attributes.

This is for when you might want to access regular instance variables
instead of ActiveModel attributes