chore: move PacketSerializer types to correct namespace
feat(tests): add tests for bool and string converters