Use json.dumps for serializing values in generated Turtle