format results for main callback as array rather than object, for #53