Fixes #305.

Implemented automatic property type conversion on node loading and saving to the database.