Supprt stdClass objects in nativeToDatum conversion (Implements #64)