try fix the json encode #26