Profile API returns empty profile; make API responses more RESTful.