if format request parameter is sent use it value to determine response format. default is json
Merge branch 'dev'

* dev:
  if format request parameter is sent use it value to determine response format. default is json