Test JSON API contracts