Base JSON schema generation

@roman-mazur just review it and say am I moving in the right direction, please