Added dimensions filter to store and get data

please rename to `filter_dimensions` and use `array_merge`.