More work on getting JSON formatted properly for polling responses.