read_attribute_before_type_cast should accept symbol

Method read_attribute_before_type_cast should accept input as symbol.