Json options improvements

... options()

Signed-off-by: Julien Viet <julien@julienviet.com>
Why is keyStore better than keyStoreOptions? Seems to me keystoreOptions is more accurate as the key does not contain a keyStore it contains more options.