for SpaceSaver also serialize bucketsOption