amrsreports: formatting the string and merging date ranges.

This pull request is actually for both REPORTS-139 and REPORTS-143