REST API response format based on some of the best practices