Make JSON creation of question options return a valid response when using typed questions, and test for that use case