added server-side validation for array of research domains and language preference