return an "empty" json object string by default

avoids errors like #430

Pull Request brought to you from http://24pullrequests.com/users/Flyingmana