Getting the data & cleaning it, generating a JSON