Set JSON as default response format for API.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>