rewrite workaround to skip all readonly properties