responsewriter: handle jsonarray
move fuzzy query to search dao
cache init