Add Value To Object Array In Python Code