sample jersey json and rest template