fix internal function keysof() by correctly skipping also 'constructor', etc