Added Request class for creating JSON objects.