Extract key configurations to external JSON file. Config and keys JSON can now be passed as parameters to JAR.