Added JS spec to ensure BBJS code serializes role_ids correctly when saving entity