Attempting to fix the build on php 5.3 and 5.4 by normalising spaces in XML responses too