Test implementation for JSON responses