Update code to new json adapters interface receiving json objects instead of strings