Switch from HashMap<String,String> to String[]