Renamed logger to Logger
made JSONHandler Try 1.6 compatible