rest service w JSON

added class to convert table set into JSON