fixed issue with maxlengthsize json serialization in release controller