filter out everything except dict