How to create repeating fields in sub-attributes