Fixed the bug introduced by change the location field from Geometry to Geography
Restored the old "order by" in individual_curves
refactored code to get hazard metadata
Merge branch 'geometry-geography-bug' of https://github.com/gem/oq-engine into refactor-risk-export-test
fixed hazard metadata getting logic
cast geometry to geography in hazard curve getter
fixed hazard metadata in the scenario case
hazard metadata returns a namedtuple
updated risk export test to the latest changes (namedtuple instead of tuple)
moved hazard metadata namedtuple outside
Merge branch 'fix-scenario-hazard' of github.com:gem/oq-engine into fix-scenario-hazard
Fixed the tests of the scenario_hazard core