pub fn get_json_response(
    storage: MemoryStorage,
    response: Response
) -> Result<JsValue, JsError>