I'm pretty new to JS and using lodash for a project. Here I have an object of objects and I need to filter out the objects according to the value of a prop. I've gone through some other stack overflow post but did not able to get the required output : 

My object is as follows : 

```
var parameters = {
  "param_a": {
    "created": "2018-10-08T05:14:19.498Z", 
    "description": "Description of the Parameter A", 
    "status": "absolute",
  }, 
  "param_b": {
    "created": "2018-10-08T05:14:19.498Z", 
    "description": "Description of the Parameter B", 
    "status": "absolute",
  },
  "param_c": {
    "created": "2018-10-08T05:14:19.498Z", 
    "description": "Description of the Parameter C", 
    "status": "relative",
  }, 
}

```

I need to get separate objects according to a status like :

```
var absolute_parameters = {
  "param_a": {
    "created": "2018-10-08T05:14:19.498Z", 
    "description": "Description of the Parameter A", 
    "status": "absolute",
  }, 
  "param_b": {
    "created": "2018-10-08T05:14:19.498Z", 
    "description": "Description of the Parameter B", 
    "status": "absolute",
  },
}

var relative_parameters = {
  "param_c": {
    "created": "2018-10-08T05:14:19.498Z", 
    "description": "Description of the Parameter C", 
    "status": "relative",
  },
}

```

I've tried this but it returns the original object as it is : 

```
 relative_parameters = _.pickBy(parameters, function(value, key) {return 'relative';})

```