Fixed common js issue if root is undefined where field aliases were missing