stores json asnwers in a file as well as mongo
added choice type