Normalize relationships in commit payloads