let's say you're passing an object to a function

```
{title:"my title", data:"corresponding data"}

```

how can I get the function to know what the names of the items/sub-objects are (`title` and `data`) without specifying them?