Python to format invalid json (without quotes) to valid json