I've got a huge JSON object and I want to filter it down, to a small % of the available fields. I've searched some similar questions, such as [enter link description here](https://stackoverflow.com/questions/27838154/how-do-i-remove-all-keys-except-one-with-jq) but that is for an array of objects. I have a JSON object that looks something like: 

```
{
"timestamp":1455408955250999808,
"client":  
    {
    "ip":"76.72.172.208",
    "srcPort":0,
    "country":"us",
    "deviceType":"desktop"},
"clientRequest":
    {
    "bytes":410,
    "bodyBytes":0}
  }

```

What I'm trying to do is create a new JSON object that looks likes:

```
{
"timestamp":1455408955250999808,
"client":  
    {
    "ip":"76.72.172.208",
     }
"clientRequest":
    {
    "bytes":410
    }
}

```

So effectively filter down the data. I've tried:
`| jq 'map({client.ip: .client.ip, timestamp: .timestamp})'` and I continue to get:

```
jq: error (at <stdin>:0): Cannot index number with string "client"

```

Even the most simple `| jq 'map({timestamp: .timestamp})'` is showing the same error.

I thought I could access the K,V pairs and use the map function as the person did for his array in the question linked above. Any help much appreciated.