Uses numeric long long values for numeric types in JSON output

When the m_print_format of a field is PF_DEC, in JSON output, the
value that is used is now the string representation passed through
atoll.