Check hasOwnProperty when iterating over TRANSFORMATIONS object