added solr server;
added json support;