initial import of a public rework of expectjq