More work on federated-searches-json.js