add simple `get' json api, fix http search space decode