Removed the second readLine() call, should be line.trim();
Fix a few format issues with the JSON config file.