json: fix spacing and sizes thereof in bson to json formatting.