accept amount a strings in setOutput

- small feature to allow to pass amount as a string, since  bignum does not implement .toJSON