Minor corrections to the documentation and using Input::json() with Validator

Minor typo corrections to documentation.
Issue fixed where Input::json() returns object, however, Validator::make() requires an associated array. Used get_object_vars() to circumvent the issue.