Coerce strings when reading attributes.
Merge pull request #10497 from senny/10485_does_not_coerce_strings

coerce strings when reading attributes