Update Format.php

Added a way of formatting the JSON to include the numeric check, but only if the available PHP version supports it (IE v5.3.3 or higher).
Merge pull request #218 from moberemk/master

Added proper JSON numeric formatting