Reduce JSON parse to one line and strip white space from search