Converted config file to json string

script reads from json string for OAuth tokens.