Added logic to be able to serialize and deserialize BodyParts and Envelopes