[client][SmartField] Implement packing/unpacking code.]