Fix a renamed function
The json querys for use by UI pages