Added parser for payload into json object