Implement lp python bindings for beta bernoulli
Implement beta-bernoulli serialization