clean up handling of unexpected double values from WPS4R response