Bootstrap handler - to finalise tests and fix addition of multiple entri...

...es, also requires

looking at public_key serialisation and parsing. We should consider cereal for all types for
consistency.