Change rest API response