Implement value filter for ckan backend

Part of #217