python wrapper for converting JSON oject to HTML representation