Dict to mnesia.