Added small abstraction layer over the results returned by the PHP client in case of future API change