refactored code to get hazard metadata
Merge branch 'geometry-geography-bug' of https://github.com/gem/oq-engine into refactor-risk-export-test