- did some refactoring. Asking David to serialize the entire object and then de-serialize it for ease.