change pretty printer to include attributes inside structs