Select (instead of create) a tab if already opened.
Fix JSON.