add resty and json servlet