Added constructor for parsing only automationContextObject

Add this