json api nesting cards