Removed JSON.pm from repo
Tidied logging