rkt: refactor fetch

@xiang90 can you add types.ACName validation?