fix examples in readme

remove bad error handling and don't call toString on functions or
strings