added jsonh support to data api
added data call test