catch invalid argument exception, but alert the developer during debugging. The server could change the type or provide the wrong type of a field, but this shouldn’t cause the client to crash.