Updates to work with CKAN version 2.2