The source code example for the initial example was missing the correct JSON object formatting and syntax.  That has been fixed with my change.