refactor($parse): remove unused parameters and methods

After removing the json and unwrapPromise mode, some parameters
and methods were no longer used.