Using API Manager to work with JSON/REST-based APIs