first try at JSON mapping; handling continuations better

Added a new SearchData class that uses JsonMapper.
Does not compile because of type errors in SearchData.

Improved prepareCollection()--may not need conditionals, will
see what happens after parsing is better.