json&rest samples