Fix Json escaping of quotes

Order is important for multipass escaping