Add optional configuration to write_log; allow writing JSON.