belongsTo attributes should serialize null values too