change your object looking as below then stringify. It should work.
Object {name: "testWorkout", program: {}}
Point here is normal JavaScript
arrays are designed to hold data with numeric indexes. You can stuff named keys on to them but the JSON
array data type cannot have named keys on an array.