Fix toJSON for belongsTo with string.
Merge pull request #409 from deanmarano/fix-belongs-to-serialization

Fix toJSON for belongsTo with string.