Made ID compatible w/ server ID format

Server uses String ID's. Also added logging for JSon error