Added JWT implementation with typed serialization for performance