Doing debugging on serializeBelongsTo