simple function-result pickler