Add logicalPath() method to environment, fix JST to name dict entries correctly