it is better to override SC.json.encode in order to get design documents saved
add an error for database create error, and also give the result