Python3 compatibility
Parsing using the json module