added unicode support into the json dump