refactor search to jackson