Use online specification to get {keyid,keyname,valuetype} for each key, and generate functions accordingly. Return a list of {:key,fun} where fun.() decode the value associated with key
{:key,fun}
fun.()
key