Adds api_version to Relation documents