since script_parameters returns a dict, encode it as such
Merge pull request #1 from quixey/quixey/DA-332

treat `script_parameters()` as a dict