Fix JSON processing by registering missing JSON feature and add config to build .jar with dependencies.