How to send data to Cesium


I am trying to add a set of data from Matlab through a java file to then upload to Cesium. Currently I have a function in my java file that uses the cesiumoutputstream function in order to send positional data to the server. This works properly, but my problem is that I have two more sets of data that are not related to the entities position and cannot find a way to send this data through to cesium since cesiumoutputstream will not work for an array of data not in a positional format related to time. Is there any other function or does anyone have any other suggestions as to how to go about doing this?