Fixed json escaping

Solution borrowed from: https://github.com/panicinc/issue_hot_buttons/commit/869942db1bb6024d88accef662d9b8b1f4d44174