feat(stage2.py): Added peripheral Rec/Sig declaration based on given dict