[API] renaming search-template to search_template.

Name of the API should be a valid identifier.