fix: check parameters against es mapping