Rename write_hazardcurve_file to serialize_hazardcurve and fix the docstring.
Rename write_hazardcurve_file to serialize_hazardcurve and fix the docstring.

gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine