Escape the contents of object keys when writing JSON
Don't set the focus on the default button in automation dialogs