Fix core issue 58 domain property

fixes jembi/openhim-core-js issue domain property