This script tests the ability of CPAINT to pass arrays and objects to the backend.
If you'd like to influence the parameters in use, edit the source of this example

Note that JSON in itself does not support hashlists / collections / associative arrays. What CPAINT does to dodge this limitation is to convert associative arrays into objects.