Determine data type update

Updated the way jdcapi decides what kind of data has been received from
the server. Much more stable. This fixed the ::: chat bug as well. Less
catching of errors when parsing information