I created praekelt/vumi-jssandbox-toolkit#23 for this.