format json value in clipboard dialog