I am trying to write a Python dict to a pre-existing external .json file which is empty.
usersession = { \'session_key\' : key, \'session_secret\'