reminds me of a refactoring idea we discussed for 1.2: we should get rid of the stdclass and use something more neutral. it comes from the json communication with jackrabbit, but for dbal it makes no sense whatsoever. and it is the reason jackalope does not work on hhvm.

if we would return an array format we could be more reliable probably.

if you tested this code with both dbal and jackrabbit and the api tests work (and actually cover the situation!) i am fine to anyways merge this for 1.1