make bee serializable