Convert JSON to HTML fragment with JQuery