Replace proprietary PHP serialize output in bestow with JSON; commit synced with https://github.com/cusu/bob-gui/commit/f1c097d877522f19ab625ee25d8106498855fda4