removed json, removed boost, fixed strange bugs