refactored nexson validation to peyotl