only serialize loaded relationships