Fix JAR being closed before default config is read
Remove JSON because we have a Maven dependency for org.json