Ignore MOAR stuff.
It's nicer to return a hash instead of a JSON string.
Added some basic tests.