ADD attrs and change json method of archives