Use array_flip even for the package parsers