Adding translation search to the JSON API.