Working on deserialization of JSON payloads