Fix #10 by adding render-json, render-text, render-xml support

Bumps version to 0.2.2