Fixed a bug with lattice
An operator can be given as an input
Allow arbirary JSON
Small bugfixes and enhancements
Fixed a bug in lattice merge