Change format of symbols to fit databse model.