refactor DataTabulator for better code reuse

2 commits:
* first to refactor DataFormatter
* second adds *post query filtering*