Bugfix for JSON URLs and reverse lookups