webapp to convert JSON Object to HTML representation using python-flask