Handle intrinsic functions better in cfn2py