Store attributes in a table under the parent "attr" field