add base64 encoded string support to parse resource