Use json instead of ConfigParser for config
Add test for config.json based upload