added json logger support