arbitrary object validator