Trying to return json as index.html