make extensions/jsonSchema easier to work with

fixes #2

because of #3 i'm not sure if these tests pass but i think the changes to the tests should be correct