API call accepts the lexer or format parameters now via GET too.

With this you can set the format by the url: /api/?format=json