changed dict layout for attachments

:octocat: