added contentType to make sure response is always json

fixes #11