Allow Request::only to grab input from json.
Refactored Request::only.
Fix broken test.