Why not simply get the properties you know about directly (e.g. query and workflow properties)?  Then use the new method you created to get all prefixed properties?