Update the documentation to clarify that custom attributes don't support arrays and dictionaries

fixes #6506