apply struct serialization pattern across codebase
- add docs/zig-patterns.md and docs/turso-hrana.md
- mod.zig: add SearchResultJson, TagJson, PopularJson types
- mod.zig: add Doc.toJson() and Pub.toJson() methods
- mod.zig: simplify search, getTags, getPopular functions
- dashboard.zig: add TagJson, TimelineJson, PubJson types
- dashboard.zig: simplify format functions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>