fix up to_json
fix up to_json

i think to_json's connection to as_json probably uses its own sort of weird delegation, which was getting messed up here
seamusabshere/cohort_scope,seamusabshere/cohort_analysis