Add special case when body is an object instead of a string (when received json in express)