[TIDOC-2056] Fixed prettyprint issue in ListItem API