changed PrettyPrint functionality in App.js to support when children type is Index Scan