Convert JSON to an editable table using jQuery