utils: Escape backslashes in json as well