Removed obsolete JSON from Register call in samples