Receive query as Json. Lemm.fails.