Add t=json parameter

#63 automatically closed itself when I tried to force the remote config to match my local repo. This is a new pull for the same branch.

Allow mobile clients to avoid parsing HTML.