Fix bug in serialize relationship