Reverted commit removing HSQL.
temp commit towards json goal
temp commit towards timeseries json
added conversion to JSON