Ability to serialize null belongsTo

`belongsTo` is sometimes optional and a null value should be included in the serialized hash.