use attrs instead of the toJSON for setting state
use attrs instead of the toJSON for setting state

Code was extracted into a PR https://github.com/magalhas/backbone-react-component/issues/83 from @McWatt comment.
visigoth/backbone-react-component,magalhas/backbone-react-component