Adjusted json_decode.py