changed json output to present each bin as a "document" rathar than a list of bins