Fetch workflowStages assigned to any workflow step in AEM6.4
I' using AEM 6.4 where I've implemented the custom workflow step functionality as an OSGi Service and trying to determine which workflow step I'm currently based on the custom- 'Workflow Stages' created and assigned to each step. (refer screenshot below).

I'm able to see the correct workflow stages assigned to each workflow step in debug mode but I'm unable to fetch the actual string value from the JcrPropertyMap(i guess).
Below is the code which I believe I need to fix to get the correct property value-
;-/

PropertyMap when copied from the debug mode contains expected workflowStage value.