frontend facelift
backend throws exceptions for wrap_json to catch, apis now return json object directly