feat(ferry_generator)!: make dataToJson() method type safe by using the generic data type instead of dynamic. To opt-out of this new behaviour, pass data_to_json: dynamic_param to your build.yaml
test(ferry_cache): fix tests to support new ferry_generator version with better type safety
data_to_json: dynamic_param
to your build.yaml