Ah! I think I found it at
https://github.com/vibe-d/vibe.d/issues/1541
My actual code which seems to be working, for posterity:
struct BapiResponse {
string p; // Purpose
string url;
@optional FlashMessage[] flashmsgs;
//Json flashmsgs;
string status;
string i; // Info
Json u;
}