Extend ActiveRecord::Base with a to_object instance method that picks the specified attributes out of the object and returns a cache object