fixed toJson usage on /start