In versions 4 and below it was possible to override the method GelfEncoder.gelfMessageToJson to customize json serialization. It would be great to restore this feature with a little refactoring and bringing back the protected method