Add join mapping to ERMapping.
Complete initial serialization of ERMapping.