I tried to mimic `get_user_policy` parser behaviour, not sure it's possible lo assign a `PolicyDocument` in non-JSON format or wrong encoded.