currently all complex objects like arrays and dictionaries are serialized into strings in order to be easily passed from C to Rust.
this could imply some performance issues so let's investigate a better way to pass complex objects and therefore remove all JSON serialization