json errors should show an error even if value is nil