JSON generator and submitquestion interface added