dictionary add method: objectWithPath