allow array and string for watch option -- add some tests for JSON validation