Query incompatibility with certain SOAP clients
With certain SOAP clients, an array passed to a querying method such as sites_web_domain_get gets turned into an stdClass object.
It happens due to differences in how hashes are turned into XML, and different versions of PHP can interpret it either as an array or an object.
An object gets parsed with Ruby, using either Savon or Handsoap libraries as a SOAP client. Potentially other languages are affected as well, it depends on the client library.
The fix is very simple, since objects can be cast into associative arrays. Diff here: https://gist.github.com/arvola/5400885