Standardize JSON decoding for nil