don't overwrite the notes variable in the iterator

The sequel_to_json method was getting tripped up on note sets of size greater than 1, because while iterating through the notes it was changing the hash to an array.