logic: Swap now works correctly
refactor: move Toggle out of debug package
net: fix JSON serialization on Android