First cut of generating proper JSON for swagger to process. Basics work.