added angle bracket escaping to json rendering