make bean pickleable