used lodash method to filter nodes object down by keys with _.pick()