Added dimensions filter to store and get data

This whole conditional could be extracted to a `parse_response` function.