Implemented a way to gather what keys are in a JSONObject and the test for the new functionality