Failing spec for json API
Basic JSON API with some ugly hacks in the view

TODO:

    [] Generalise JSON serialisation based on information in the mapper
    [] Remove the mess in the JSON template - skip template for JSON?