changed default content-type to json

fixes #27