convert dict `result` to numpy structured array,"numpy.array([(key, val) for key, val in result.items()], dtype)"