Swift Dynamic-json Resources