MODE-2218 Corrected the REST client's methods that obtain the node types. This fixes the JDBC driver DatabaseMetaData methods, too.