better serialization
load and index a P3sKB file