Split key bucket to bucket and keyPrefix