Add static versions of stringify methods that can parse also list values into json string.