fixed #10 calling toPlainObject() for initial __attributes object