Special chars Fix (JSON Output)

Fixed bug regarding the special characters with JSON output format