[CHANGE] do not use json internally
[FIX] do not fail on empty srvinv replies