how to create structured JSON from CSV in AWS Glue

  arrays, json, pyspark, python-3.x

I am able to create structured json in expected format but extra slashes coming in JSON records and also json records shows as a string object.
Please elaborate the solution or let me know where is the missings?
Also please let me know any other approach to achieve the expected result.

Source: Python-3x Questions