a converter html table to json or js object