if (!uriInfo.getExpand().isEmpty() || !uriInfo.getSelect().isEmpty()) {
String expandSelectString;
try {
ExpandSelectTreeCreator expandSelectCreator =
new ExpandSelectTreeCreator(uriInfo.getSelect(), uriInfo.getExpand());
final ExpandSelectTreeNodeImpl expandSelectTree = expandSelectCreator.create();
expandSelectString = expandSelectTree.toJsonString();
} catch (final EdmException e) {
expandSelectString = null;
}
jsonStreamWriter.name("expand/select").unquotedValue(expandSelectString);
}