Rename asString(:Object) to toString(:Object) for consistency with toBytes(..). Original pull request: #2774