[jmdb] Adding patern layout and encoder for config files