get rid of the stringified keys nonsense, we can just use edn if it ever matters
factor out query stuff into lamina.query