Adding Bean serialization