Fixed RestfulHttpNode test: Qt changed the 'Compact' format for JSON

The test-case now simply removes all spaces from the data returned by
the tested function. Should be enough to be somewhat consistant across
Qt versions.