Fix number long extended json bug

JsonWriter produced invalid output for longs under JsonMode.STRICT
JAVA-1398