DM-958 Move setting of version to schema

Note that the resultMapper outputSchema has to be altered
Move setVersion() calls to a more central location
Merge branch 'u/jbosch/DM-958'