toString func generates valid json

    * toString func used to generate invalid json
empty string `""` instead of null - because JSON doesn't play too well with nulls.