read_attribute_before_type_cast should accept symbol