datastore: add get-config support

Signed-off-by: Zvonimir Fras <zvonimir.fras@sartura.hr>