process both raw and parsed (hash) JSON representations