Fix getData

For getJsonNode nulls
Added CORS support