Removed useless and illegal json object in the response.

Relates to #5865