Modified analysis.py to work with Cybox Simple API