You wrote, " shudra mahila se Ber Khaye"!
That confirms that there was a division on caste lines even at that time, may be not as rigid as it become on later periods!
In essence it shows the greatness of Lord/ King Rama that being a royal, he ate the part eaten Berry/ Ber from shudra women...