serializing non-embedded relationships