ws / cs
detects current yaml key with helper function