WIP: definition of domain's objects in json