Fixed typo in restconf, which caused classcast in datastore.