Fix attack syntax and add default actions for objects to json