[Minor] Add try/catch blocks for JSON.parse in Options code