generation of json screens almost finished