Make masterData-select.js parsing text resp if json resp is missing