Fixes #27 - Make custom strategy result more defensive

Make sure that numbers can be returned as well as strings from
strategies.