Fixes #99: logging from phantomas scope is broken
Merge pull request #100 from macbre/json-logging

Fixes #99: logging from phantomas scope is broken