This fixes #8 by checking if JSON_BIGINT_AS_STRING is defined and falling back to the pre 5.4 code path otherwise