Fix serialising program array uniforms.