Write log in json format as string into the log file