phantom to test communication now happens over JSON
 should fix #26