now export follows the format provided by rouslan
refactored  get formatted responses method