chore(rest-test): refactor common variable json creation logic
Merge branch 'master' of github.com:camunda/camunda-bpm-platform