Adding readable function to convert a given interval to a map representation using the given fields.

It is now possible to call the readable function to get back a map representation of the given interval.

This address issue: #51