Convert column to JSON

hope this helps you,