OP-1456 get rid of cast_struct_to_array because it is error prone!
OP-1456 fixed macro for uav object field to array casting and added compile time asserts to assure its working
Merge branch 'next' into corvuscorax/OP-1456_struct_to_array_improvement
Merge branch 'corvuscorax/OP-1456_struct_to_array_improvement' into next