It won't work because actions has to be an array, not an object. Simply wrap the object between [] to make it work