Preparing API for interaction with CKAN