streamline API response patterns
basic json API test