Return a parsed object rather than raw JSON string

In response to #11