gen-dictionary - fixed json format