Scripting: SEARCH_TEMPLATE_JSON supports EXIT and NEXT_COMMAND