fix serialization/deserialization of RSAPrivateKeys to Gson