Fixed retrieval of block parameters.
Converted from PHP serialization to json encoding.