pyterm: initialize ignored flag correctly
pyterm: added twisted based JSON sending