Update genfilefromJson