Minor fix: Sorted map instead hash map while decoding to maintain order of the dictionaries