Use default_json_encoder when encoding message
Use default_json_encoder when encoding message

Otherwise, some custom types like Decimal or datetime cannot be encoded

pyfarm/pyfarm-master,pyfarm/pyfarm-master,pyfarm/pyfarm-master