Return '{}' as empty json instead of ''.