fix multi-level nested singletons like /object/:id/thinga/thingb