change store format to json map instead of json arr.

remove sort_and_comp function
Merge pull request #8 from spin6lock/change_store_format

change store format to json map instead of json arr.