Fixed bug in reducer which doubled up the key in the output.