Added an encoding to outgoing json to improve parsing performance.