newest gson lib
template uses raplaselfsign.ks as keystore name
fixes for rest api with new version