Bringing JSON\LoadFile into line with core.