Simple object validation framework