serialising has many relations