allow Json to be logged