add serialization support to bp by boost