improve entries.fromJson based on the entry concept internal tree