fixing the rails listener code (all hash keys are strings now)