unittest for SSH keys
fix use of json() method from requests
support for system hooks