copied bastians json updater code into server. doesn't crash :)