US25-CodeReview for all packages

Fixed method grid_to_dict