Prefaced all calls to json api with 'api'.