fix json and path issues

+ add quotes to openssl command during init, allows spaces in paths