Fixed bug in CUtils::objectToArray and changed its behaviour (doesn't
convert child objects to arrays anymore)