Add validation to proto to entity conversions.