bug in PrototypeUtils::toArray(): string "0" exports as NULL