Modifies the Magento log system to output log files in JSON format for easier machine parsing.