lib/ambush.js
function restoreFn(db) {
	return db.map(function(amb) {
		return Object.assign({}, amb, {action: JSONfn.parse(amb.action)});
	});
}
function restoreFn(db) {
	return db.map(function(amb) {
		return Object.assign({}, amb, {action: JSONfn.parse(amb.action)});
	});
}
function restoreFn ( db ) { return db . map ( function ( amb ) { return Object . assign ( { } , amb , { action : JSONfn . parse ( amb . action ) } ) ; } ) ; }
Parse functions when loading file restoring then to js valid objects.

@param {array} db Ambush functions db
@returns {arrat} Parsed db ready to use.
Parse functions when loading file restoring then to js valid objects .