encode abstract method

Map encode()

Implementation

Map encode();