Creates DTO and adds JSON parsing