implemented a more common call structure
created basic json structure for handling question/answer data