Reference related resources instead of serializing them.