Added utility class to serialize/deserialize objects
Issue: GCP-9029
Reviewer: Mae