fixed bugs with FlattenReviewJSON.pl which produces duplicates review and rating