Adapted to newest SSVJsonCpp