SMARTCMS-58: Add API for exposing field definitions as map

Signed-off-by: Imran M Yousuf <imyousuf@smitsol.com>