teiiddes-1882

Added JSON-based REST service support.