Before refactoring, seems to work.
JSON everywhere.