SERVER-11868 Add tests for numbers that cannot be represented in JSON