more work on converting to and from json, still need to sort out select bug & checkbox, radio text bug