validate object paths and values