Consistently respond with an array

This is taken from jsonrpc and it's because you might
have multiple arguments in the response callback.