return strings instead of ints in ajax callback