reverted back to old json in get_active_questionnaires, as it was merged from dev branch
fixed a typo