Chop shallots fine, including tops. Add parsley, vinegar, and oil and season to taste. Pour over beans and pack in jars.