added REST resource with JSON capability