Use correct datatype to access json data

Received data is a dict so use the keys from the dict.