Cleanup JSON response