OHM-239: Remove repeated code
OHM-239: Remove repeated code

jembi/openhim-mediator-yeoman-generators,jembi/openhim-mediator-yeoman-generators,jembi/openhim-mediator-yeoman-generators,jembi/openhim-mediator-yeoman-generators