<prompt> Translate the following text to SwahiliAt first, the Japanese curtailed the privileges of the Malay rulers and forced them to pay homage to the emperor of Japan.  <response>: Mwanzoni, Wajapani walipunguza mapendeleo ya watawala wa Wamalawi na kuwafanya wamwabudu maliki wa Japani. 