added json server suport