Improve $LOADED_FEATURES append pattern

```start_with?('json')``` is not correct implementation.
For example, this prevents ```json_spec``` gem from being loaded.
Regular expression which checks if there is a file or folder starting
with json works better.