Fix options validator to handle objects with ids