Handling numeric cell type and preventing empty json object to be added.