Pfaffian structures and certain solutions to BKP hierarchies I. Sums over partitions