Work on updating web service to allow different type_vals for each
document type