Use lang3 StringUtils for escaping JSON strings

Use lang3 StringUtils for escaping JSON strings