Trying to make a proper json response

This includes having a content-type definition, and a status.
May be usefull for the testing.