finish the REST json example