Changed the structure or the search result objects.
Added fromHash and toHash static methods as a convenience (factored this generic code out of a loc adapter for one of the RC project).