Added JsonView

Added view to return data as JSON.
fixes #26