Allow schema to be passed in as an object

In addition to a filename.
Version bump v1.0.2