perf(json): reserve enough space for blockid list

So that no need to reallocate the vector during parsing.

Stop requiring constexpr to get the digest size.