added serializeBelongsTo to fix undefined bellongsTo