Tweaks to error page and JSON api