Utility metho to create an Ok result from a value