The json api now works again.