Make all calls to render JSON response consistent.
Bump version to 0.3.1