Pickled Pear Tomatoes With Rosemary