export function jsonResponse ( status , data , init ? ) { return new Response ( JSON . stringify ( data ) , { ... init , status , headers : { ... init ?. headers , 'Content-Type' : 'application/json' , } , } ) ; }