Using TRANSFORM function in Snowflake to extract values from a json array | Query Optimization in Snowflake (QOSF)