version 1, dico to json