Use correct captialization to keep composer autoloader happy
Also allow datetime objects for value types to accomodate midgard_datetime fields