Small fix to send empty json objects