$value should be a string (use serialize), not an array

Signed-off-by: emanuele <emanuele45@gmail.com>