Remove of invalid additional json_encode() function call of in JsonFormatter