pub fn get_locations_serialized( problem: &Problem ) -> Result<String, GenericError>
Gets locations serialized in json.