improve json error/warning checking to support both mongo/sql
improve json error/warning checking to support both mongo/sql

parasgithub/PrairieLearn,jakebailey/PrairieLearn,tbretl/PrairieLearn,jakebailey/PrairieLearn,lotrfan/PrairieLearn,parasgithub/PrairieLearn,rbessick5/PrairieLearn,jakebailey/PrairieLearn,parasgithub/PrairieLearn,lotrfan/PrairieLearn,PrairieLearn/PrairieLearnHack,PrairieLearn/PrairieLearnHack,mwest1066/PrairieLearn,parasgithub/PrairieLearn,kevinwang/PrairieLearn,mwest1066/PrairieLearn,tbretl/PrairieLearn,kevinwang/PrairieLearn,jakebailey/PrairieLearn,tbretl/PrairieLearn,mwest1066/PrairieLearn,mwest1066/PrairieLearn,lotrfan/PrairieLearn,mwest1066/PrairieLearn,lotrfan/PrairieLearn,lotrfan/PrairieLearn,rbessick5/PrairieLearn,kevinwang/PrairieLearn,rbessick5/PrairieLearn,PrairieLearn/PrairieLearnHack,PrairieLearn/PrairieLearnHack,lotrfan/PrairieLearn,rbessick5/PrairieLearn,rbessick5/PrairieLearn,PrairieLearn/PrairieLearnHack,PrairieLearn/PrairieLearnHack,kevinwang/PrairieLearn,tbretl/PrairieLearn,PrairieLearn/PrairieLearnHack,lotrfan/PrairieLearn,kevinwang/PrairieLearn,kevinwang/PrairieLearn,parasgithub/PrairieLearn,tbretl/PrairieLearn,PrairieLearn/PrairieLearnHack,kevinwang/PrairieLearn