Log Json to logfile