doc block fix.
limit hostObjectToArray to stdClass to make sure its an object.