Implement new JSON extension 'createencryptedwallet'.