exercises through returning a JSON object