added example json report, updated subprocess code