WIP: example compiler based on jsonmerge