made all the beans serializable so they are actually beans