Works with newer monolog versions
declare compatibility with recent symphony versions
added a check for invalid utf-8 sequences when doing json_encode on the record. Fixed unittests.