Rewrote the work lost from yesterday - python script now outputs something that looks a bit more like soy. Html tables are still broken as are the occational random curly brace.