support .json extension in the API URLs and add a welcome message