Fixed incorrect Relationship json serialization.