Next time you buy a pineapple use this trick