Switched from log4moz to Log.jsm

Also removed some legacy JSON code.