You can start from an object for the expected payload and serialize it to get the expected payload string. This way you should be able to avoid ordering issues caused by different JVM defaults.
--- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/233#issuecomment-184744816