Assume I get from the api an object which looks like this:
{ field1: null, field2: "foo", field3: 42, field4: {"a":"b"}, f