Fast & simple scalar/object/array checking and validation