Support numeric index options in XML

This is necessary for options such as `expireAfterSeconds`.