use ckan action api for all calls instead of deprecated rest api