fixing to valid json