script to parse contract note reports into JSON

contract notes are in an extremely clumsy HTML. This script
transforms that into more machine readable JSON format.