rocs: fix for serialising NULL attribute values