jsonrpc-s: auto-convert int to str if required by scanning spec

- check if there spec string has still mandatory chars