Adding IDE json functionality to hh_single_typecheck