added json support for opportunities

so i can subscribe listeners to your db. think of it as a ghetto api.