Added method to json-rpc-server.php to retrieve all image parameters as a JSON-enconded array.