changed error/data structure to play nicely with the express.io style of acknowledgements