code: function compileFn(db) {
  	return db.map(function(amb) {
  		return Object.assign({}, amb, {action: JSONfn.stringify(amb.action)});
  	});
  
  	return result;
  }
docs: Turn actions in every ambush function into valid json strings.
  
  @param {array} db Ambush functions db.
  @returns {arrat} Compiled db ready to save.