Add API to return json and csv formatted data. Remove .sql from links