Fix expiration policies.

RabbitMQ insists that ints are not quoted in the resultant JSON.
Use a recursive solution which should fix all cases of this (even in the face of other / more complex defintions)