Fix #1273 Rest API does not resolve categorical references
Merge pull request #1274 from dennishendriksen/master

Fix #1273 Rest API does not resolve categorical references