Boilerplate code abstracted out
JSON wrapper finished
Unit tests for JSON wrapper