Generating classes based on well formed json