refactored Sort json serialization process in Search - now using gson instead of string building