Brain-Flak, 7 bytes
#)]}{[(
Reversed:
([{}])#
Note: Only works in interpreters that support comments (e.g. works in Rain-Flak, but not in BrainHack)
If we also swap opening/closing brackets instead of just reversing the bytes we can do this in 108 bytes without using comments:
({}<>[[{}])
Try it online!Try it online!
Try it reversed!Try it reversed!