Cannot Use String Offset As An Array Php To Json In Snowflake