Worked around weird serialiser issue where a null element was added to the arrary