Added JSON support to ticket module / Send ticket data to client