bug fixes in examples

* Appendix B, ex. 3 (Group) is now valid JSON: removed extra comma
* Appendix B, ex. 4 (Statement): removed extra indents