JSON API: Added fallback constant definition to avoid a fatal error.