Updated duration generator to handle any duration value 

So, value is a numeric type with my edits. Not sure if that matters a whole lot. I'm still getting a feel for the library. If it does, it's an easy coercion to a string type.