Simplify JSON de/serialization for BlockId